package service;


import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import io.reactivex.Flowable;
import model.redpack.PackListRsp;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface RedPackService {

    /**
     * @title 红包列表
     * @param page
     * @param size
     * @param sort
     * @return
     */
    @GET("pack/search")
    Flowable<PackListRsp> getSearchList(@Query("page") @NonNull int page
            , @Query("size") @NonNull int size
            , @Query("sort") @Nullable String sort);

}
